/*
 * server-status.h
 *
 *  Created on: Oct 7, 2010
 *      Author: thienlong
 */

#ifndef SERVERSTATUS_H_
#define SERVERSTATUS_H_

struct atomic_number {
	long value;
	pthread_mutex_t lock;
};

struct server_status {
	struct atomic_number conn_num;
	struct atomic_number req_num;
	time_t start_time;
};

#endif /* SERVERSTATUS_H_ */
